/*=============================================================================
                    AUTOMATED LOGIC CORPORATION
            Copyright (c) 1999 - 2010 All Rights Reserved
     This document contains confidential/proprietary information.
===============================================================================

   @(#)Debug

   Author(s) Matt
   Created: Oct 22, 2010, 5:50:19 PM
 
===============================================================================*/

/**
 <!=========================================================================>
 .
 Date: Oct 22, 2010
 Time: 5:50:19 PM
 @author Matt
 <!==========================================================================> */
public class Debug
{

    static boolean debug = true;

    public static void outMethod( String methodName, Object...arguments )
    {
        String allArguments = "";
        for ( Object s : arguments)
            allArguments = allArguments + ", " + s;
        if ( debug )
            System.out.println("method: " + methodName + "( " + allArguments + " )");
    }

    public static void returnVal( Object o )
    {
        System.out.println("return " + o );
    }
}